import { createFromIconfontCN } from '@ant-design/icons';
import { iconUrl } from '@/assets/icons';

const MyIcon = createFromIconfontCN({
  scriptUrl: iconUrl,
});

export const externalIcon = <MyIcon type="icon-liebiao" />;
export const internalIcon = <MyIcon type="icon-celiang" />;
export const preservationIcon = <MyIcon type="icon-jichubaobiao" />;
export const settingIcon = <MyIcon type="icon-shezhi" />;

export default {
  externalIcon,
  internalIcon,
  preservationIcon,
  settingIcon,
};
